/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package cliente;

import java.io.IOException;

/**
 *
 * @author carlosarboleda
 */
public class ThreadLista extends Thread {
    
    
    private boolean conectado;
    
     private ManejoLista lista;
      InterfazPrincipal p;
      
      public ThreadLista(InterfazPrincipal principal) throws InterruptedException{
          principal=p;
          
          lista = new ManejoLista(principal);
      }

    public void run(){

            try{

                
                    enListarUsusarios();
                

            }catch(Exception e){
                e.printStackTrace();
            }
        }


     private synchronized void enListarUsusarios()throws InterruptedException, IOException{
        notify();
    }







}
